#pragma once

#include <QWidget>
#include "MyData.h"
#include "SportMeeting.h"
#include "ui_page5.h"
#include "qcustomplot.h"

class SportMeeting;
class page5 : public QWidget
{
	Q_OBJECT

public:
	page5(QWidget *parent = nullptr);
	~page5();
	void setData(MyData*);
	void loadData();
	void painterSum();
	void painterFirst();
	void painterThird();
	void painterRadar();
private:
	Ui::page5Class ui;
	MyData* myData;
	SportMeeting* parent;
	QCustomPlot* customPlot;
	QStringList* teamlabel;
private slots:
	void pre_page();
	void myPaint();
	void savePdf();
};

